iT邦幫忙

2023 iThome 鐵人賽

DAY 7
0
自我挑戰組

簡易跨平台記事白板系列 第 7

[Day 7] [flutter] multi-platform white board -- ios screen widget

  • 分享至 

  • xImage
  •  

preface

It cost me a lot of time to complete this. The Ios 17 and Xcode 15 has the vaious amount issues than I expected 😔.
I will list them in the end for reference.

I had mentioned that we had to write native code to build home screen widget,
and what i'm going to do is use davinci to obtain a screenshot in offStage mode. Then render it on the homescreen widget, which is the widget we built in native code.

It works great on Ios simulator, but it encountered an issue on my physical device. I've submit issue on davinci's repo, I think we'll find out soon.

Begin

(Editing)

demo

note in app

screen widget in Iphone XR

screen widget in Iphone 15 PRO MAX

issues

ask you to adopt the BG API (IOS 17)

Xcode build error (xcode 15 ios 17)

Xcode 15 Sep 2023 Solution

REF


上一篇
[Day 6] [flutter] multi-platform white board -- Android screen widget
下一篇
[Day 8] [flutter] multi-platform white board -- authentication
系列文
簡易跨平台記事白板12
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言